n = eval(input())
for i in range (0,n,1):
    j = 0
    k = 65 + i
    if k > 90:
        k = k - 26*(i//26)
    while j < n:
        print(chr(k),end = '')
        if k == 90:
            k = 64
        k += 1 
        j += 1
    print()